<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>继承性</title>
    <style>
        div {
            color: pink;
            /* font-size: 10px; */
            font: 12px/1.5 'Microsoft YaHei';
            /*1.5的意思是行高微当前文字大小的1.5倍*/
        }

        div {
            /* 15*1.5 */
            font-size: 15px;
        }
    </style>
</head>

<body>
    <div>
        <p>phubber n.低头族</p>
    </div>
</body>

</html>